package com.scpii.api.domain.content;

import java.io.Serializable;
import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnore;

import com.scpii.api.domain.user.UserActions;
import com.scpii.api.domain.user.Users;

public class Comments extends UserActions implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long parentId;

	private String content;

	private List<Resources> resources;

	private List<Comments> replies;

	private Integer likeCount;

	private Integer replyCount;

	@JsonIgnore
	private Integer commentType;

	@JsonIgnore
	private Long appId;

	private Users createUser;

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	public List<Resources> getResources() {
		return resources;
	}

	public void setResources(List<Resources> resources) {
		this.resources = resources;
	}

	public List<Comments> getReplies() {
		return replies;
	}

	public void setReplies(List<Comments> replies) {
		this.replies = replies;
	}

	public Integer getLikeCount() {
		return likeCount;
	}

	public void setLikeCount(Integer likeCount) {
		this.likeCount = likeCount;
	}

	public Integer getReplyCount() {
		return replyCount;
	}

	public void setReplyCount(Integer replyCount) {
		this.replyCount = replyCount;
	}

	public Users getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Users createUser) {
		this.createUser = createUser;
	}

	public Integer getCommentType() {
		return commentType;
	}

	public void setCommentType(Integer commentType) {
		this.commentType = commentType;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

}